#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>

int main()
{
	double x, y;
	
	scanf("%lf", &x);

    if (x != 0)
    {
        y = 1.0 / x;
        printf("y=%.1f", y);
    }
    else 
    {
        printf("y=0");
    }
	return 0;
}
